using System;
using System.Collections.Generic;
using System.Text;

namespace UTLBASEFORM
{
    public class CPaser
    {
        public CPaser() { }

        public static bool getBool(string strValuePase)
        {
            try
            {
                return bool.Parse(strValuePase);
            }
            catch
            {
                return false;
               // bool abc;
               // return bool.TryParse(strValuePase,abc);
            }
        }
        public static int getInt(string strValuePase)
        {
            try
            {
                return int.Parse(strValuePase);
            }
            catch
            {
                return 0;
                //int abs;
                //return int.TryParse(strValuePase, abc);
            }
        }
    }
}
